package com.dyson.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: Wy
 * @Email: DysonWy@foxMail.com
 * @Time: 2020/1/6 13:00
 * @Description:
 */
@Configuration
public class MpPageConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
